<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class StudentsModel extends Model
{
    protected $table = 'students';
    public $timestamps = false;

    //设置主键
    protected $primaryKey = 'stu_id';
    //去除自增
    public $incrementing = false;
    //添加可修改属性
    protected $fillable = ['score_php','score_python','wish1','wish2','wish3','wish4','wish5','wish6','wish7','wish8','wish9','wish10','class_new_id','class_first_id'];
}
